import request from '@/utils/request'

// 用户直播间消费等级分页
export function gradeIntegral(data) {
  return request({
    url: '/sys/anchor/user/gradeIntegral/page',
    method: 'post',
    data:data
  })
}
//变更用户观看直播权限
export function changeLiveViewPermission(userId) {
  return request({
    url: `/sys/anchor/user/gradeIntegral/changeLiveViewPermission/${userId}`,
    method: 'post',
  })
}
